package battleModel;

import java.io.Serializable;

public class Profile implements Serializable{

	//Player Information
	private String name, color, difficulty;
	private double speed;
	//Campaign Specific
	private int maxLevel;
	private int[] levelScore;
	
	public Profile(){
		 
	}
	
	public void setName(String name){
		this.name = name;
	}
	
	public String getName(){
		return name;
	}
	
	public void setColor(String color){
		this.color = color;
	}
	
	public String getColor(){
		return color;
	}
	
	public void setDifficulty(Difficulty difficulty){
		this.difficulty = difficulty.toString();
	}
	
	public String getDifficulty(){
		return difficulty;
	}
	
	public void setSpeed(double speed){
		this.speed = speed;
	}
	
	public double getSpeed(){
		return speed;
	}
	
	public void setMaxLevel(int level){
		maxLevel = level;
	}
	
	public int getMaxLevel(){
		return maxLevel;
	}
	
	public void setLevelScore(int level, int score){
		levelScore[level-1] = score;
	}
	
	public int getLevelScore(int level){
		return levelScore[level-1];
	}
}
